package com.netease.research.dao;

import com.netease.research.pojo.Account;

import java.util.List;

public interface AccountMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Account record);

    int insertSelective(Account record);

    Account selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Account record);

    int updateByPrimaryKey(Account record);

    //    Create By WYS
    List<Account> selectByUserId(Integer userId);

    int insertReturnId(Account record);
}